@prefix-cls: dic;
@prefix-popover: dic-popover;

.@{prefix-cls} {
  &-row {
    width: 100%;
    height: 100%;
    overflow: hidden;
    margin: 0px !important;

    .ant-col-6 {
      padding-left: 0px !important;
    }

    .ant-col-18 {
      padding-right: 0px !important;
    }
  }

  &-col {
    height: 100%;
    overflow: hidden;
  }

  &-tree {
    &-box {
      width: 100%;
      height: 100%;
      background: #ffffff;
      overflow: hidden;
      display: flex;
      flex-direction: column;
    }

    &-header {
      width: 100%;
      display: flex;
      padding: 8px 16px;
      justify-content: space-between;
      // margin-bottom: 4px;
    }

    &-option {
      display: flex;
      align-items: center;
    }

    &-body {
      flex: auto;
      display: flex;
      flex-direction: column;
      overflow: hidden;
      // padding: 0px 12px 12px 12px;
      width: 100%;
    }

    &-child {
      flex: auto;
      padding-top: 8px;
      overflow: hidden;
    }
  }

  &-table {
    &-box {
      width: 100%;
      height: 100%;
      background: #ffffff;
      overflow: hidden;
      display: flex;
      flex-direction: column;
    }

    &-header {
      width: 100%;
      display: flex;
      padding: 8px 16px;
      align-items: center;
      justify-content: space-between;
    }

    &-search {
      display: flex;
      align-items: center;

      .ant-input-search {
        .ant-btn {
          border-color: #d9d9d9;
        }
      }
    }

    &-content {
      flex: auto;
      overflow: hidden;
      // padding: 0px 12px 12px 12px;
    }
  }
}

.@{prefix-popover} {
  border-radius: 14px;

  .ant-popover-inner {
    border-radius: 14px;

    .ant-popover-title {
      text-align: center;
      font-weight: 600;
      border-bottom: 1px dashed #fff;
    }
  }

  .ant-popover-arrow-content::before {
    background: linear-gradient(to left, rgb(222 222 222) 50%, rgb(222 222 222) 50%) no-repeat -10px -10px;
  }

  p {
    margin-bottom: 5px;
    word-break: break-all;
  }

}

.dic-pop-box {
  width: 100%;
  height: 32px;
  background: #ffffff;
  padding: 8px;
  border: 1px solid #d9d9d9;
}

.dic-pop-child {
  width: 100%;
  height: 100%;
}

.dic-popover-color {
  .ant-popover-inner-content {
    padding: 0px;
  }
}